#if !defined (_TRADE_SERVICE_STDINC_H)
#define _TRADE_SERVICE_STDINC_H

//
#define LIB_TRADE_SERVICE_EXPORT

#include "../../inc/tradebase.h"
#include "../../inc/tradeservice.h"

using namespace GSTrader::Util;

#include "Primitive/SpiImplBase.h"

#define BUILD_LTS
#define BUILD_GF
#define BUILD_XGJ

#ifdef _RUN_LINUX_
	#undef BUILD_LTS
	#undef BUILD_GF
	#undef BUILD_XGJ
#endif

#ifdef _RUN_WINDOWS_
	#ifdef _DEBUG
		#pragma comment(lib, "../../Debug/lib/TradeBase.lib")
		#pragma comment(lib, "../../Debug/lib/Option.lib")
	#else
		#pragma comment(lib, "../../Release/lib/TradeBase.lib")
		#pragma comment(lib, "../../Release/lib/Option.lib")
	#endif

	// ctp
	#pragma comment(lib, "Primitive/ctp/api/thostmduserapi.lib")
	#pragma comment(lib, "Primitive/ctp/api/thosttraderapi.lib")

#ifdef BUILD_LTS
	// lts
	#pragma comment(lib, "Primitive/lts/api/securitymduserapi.lib")
	#pragma comment(lib, "Primitive/lts/api/securitytraderapi.lib")
#endif

	// femas
	#pragma comment(lib, "Primitive/femas/api/USTPmduserapi.lib")
	#pragma comment(lib, "Primitive/femas/api/USTPtraderapi.lib")

#ifdef BUILD_GF
	// gf
	#pragma comment(lib, "Primitive/gf/api/ctp-md-proxy-vc120-mt.lib")
	#pragma comment(lib, "Primitive/gf/api/ctp-trader-proxy-vc120-mt.lib")
#endif

#ifdef BUILD_XGJ
	// xgj
	#pragma comment(lib, "Primitive/xgj/api/CmsTraderApi.lib")
#endif

#endif

#endif //_TRADE_SERVICE_STDINC_H